package com.learning.sims.people;

/**
 * Created by xie on 2017/4/22.
 */

public class WorkPeople extends People {

    @Override
    protected void initPeopleParameter() {
        energyMax = 100;
        energy = energyMax;
        money = 0 ;
        walkSpeed = 2;
        sleepSpendEnergyRate = 0.1;
        miningSpendEnergyRate = 1;
        walkSpendEnergyRate = 0.5;
        needAddEnergy = 20;
    }

    @Override
    public String getName() {
        return "WorkPeople";
    }

}
